package com.program.houai.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @version v1.0
 * @ProjectName: hou
 * @ClassName: UserCardPO
 * @Description: TODO(一句话描述该类的功能)
 * @Author: Topcheer
 * @Date: 2024/9/27 17:15
 */
@Getter
@Setter
public class UserCardPO {

    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "卡等级")
    private int level;

    @ApiModelProperty(value = "会员卡名称")
    private String cardName;

    @ApiModelProperty(value = "卡的价格")
    private int price;

    @ApiModelProperty(value = "卡的价格-前端展示的")
    private String priceStr;

    @ApiModelProperty(value = "卡的图片")
    private String  url;

    @ApiModelProperty(value = "用户头像")
    private String  avatarUrl;

    @ApiModelProperty(value = "卡有效期")
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date effectiveTime;

    @ApiModelProperty(value = "卡的数量")
    private int count;
}
